#ifndef BEGIN_H
#define BEGIN_H

#include <QWidget>
#include "mainwindow.h"

namespace Ui {
class begin;
}

class begin : public QWidget
{
    Q_OBJECT

public:
    explicit begin(QWidget *parent = 0);

    ~begin();

private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_clicked();

private:
    Ui::begin *ui;
    MainWindow *ma; //定义mainwindow的类指针
};

#endif // BEGIN_H
